<!DOCTYPE HTML>
	<html>
		<head>
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
			<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
			<title>欢迎!</title>
			<style>
                div{
                	width: 320px;
                	margin: 0 auto;
                	margin-top: 100px;
                }
            </style>
		</head>
		<body>
			<div><h1>欢迎您!尊敬的<?php session_start();echo $_SESSION['username'];?></h1></div>
			<div><input type="button" value="注销" onclick="toLogin()"></div>
		</body>
		<script>
			function toLogin(){
				window.location.href = "index.php";
			}
		</script>
	</html>